package com.example.oop.person;

//导师没有自己特殊的属性，全部定义在person中
public class Instructor extends Person {
    //直接调用父类的构造方法
    public Instructor(String name, int age, String tumid) {
        super(name, age, tumid);
    }

    public void teach(String lecturecontent) {
        say("Please learn \"" + lecturecontent +"\"");
    }
}